-- CALC_HOLY_ITEMS_8118_PROP

-- 计算圣器【初拥之守护】的基础属性
-- @param user 玩家对象
-- @param classId 装备对象id
return function(user, classId)
    local level = HolyItemsM.getBaseLevel(classId);

    if level == 0 then
        return {{200, "defense", 1, -1,},};
    end

    -- 升级到9级及之前，每次升级：降低敌人攻击+1
    if level > 0 and level <= 9 then
        return {{200, "defense",1 + level, -1,},};
    end

    if level == 10 then
        return {{200, "defense", 12, -1,},};
    end

    return {};
end